package org.sepheriel.airy2d.entity;

import org.sepheriel.airy2d.math.Vec2;

public abstract class Entity {
	
	float health;
	float mana;
	
	int strength;
	int intelligence;
	int duration;
	
	private float acceleration;
	private int maxSpeed;
	private float speed;
	
	private Vec2 pos;
	
	public Entity() {
		this.health = 100;
		this.mana = 50;
		this.strength = 100;
		this.intelligence = 100;
		this.duration = 100;
		this.setAcceleration(0.05f);
		this.setMaxSpeed(10);
	}

	public int getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(int maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public float getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public float getAcceleration() {
		return acceleration;
	}

	public void setAcceleration(float f) {
		this.acceleration = f;
	}

	public Vec2 getPos() {
		return pos;
	}

	public void setPos(Vec2 _pos) {
		pos = _pos;
	}

}
